.step-graph {
    width: 100%;
}

.step-graph .step {
    position: relative;
    float: left;
}

.step-graph .step span {
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 60px;
    height: 60px;
    margin-right: 60px;
    margin-left: 60px;
    padding-top: 10px;
    text-align: center;
    color: #ccc;
    border-width: 10px;
    border-style: solid;
    border-color: rgb(82, 147, 196);
    border-radius: 50%;
    font-size: 20px;
    line-height: 20px;
}

.step-graph .step:before {
    position: absolute;
    top: 25px;
    left: 0;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 60px;
    height: 10px;
    content: " ";
    background-color: rgb(82, 147, 196);
}

.step-graph .step:after {
    position: absolute;
    top: 25px;
    right: 0;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 60px;
    height: 10px;
    content: " ";
    background-color: rgb(82, 147, 196);
}

.step-graph .step:first-child::before,
.step-graph .step:last-child::after {
    width: 0;
}

.step-graph .step::before,
.step-graph .step::after {
    background-color: #999;
}

.step-graph .step span {
    border-color: #999;
}

.step-graph .step.active::before,
.step-graph .step.active::after {
    background-color: rgb(82, 147, 196);
}

.step-graph .step.active span {
    border-color: rgb(82, 147, 196);
    color: rgb(82, 147, 196);
}